
<style>

    #tabless{
        border: 1px solid #333;
        overflow: hidden;
        /*height: 85vh;*/
    }
    #tabless > thead > tr > th{
        border: 1px solid #333;
    }
    #tabless td, #tabless th{
        border: 1px solid #333;
    }


</style>
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="panel-heading">
        <h2>药品领取单:</h2>
    </div>
    <div class="panel-body">

        <table id="tabless" class="table table-striped">
            <thead>
            <tr>
                <th width="15%">序号</th>
                <th width="17%">药品</th>
                <th width="17%">规格型号</th>
                <th width="17%">价格</th>
                <th width="17%">数量</th>
                <th width="17%">总价</th>
            </tr>
            </thead>
            <tbody>



            {foreach $drug as $index=>$vo}
            <tr>
                <td>{$index+1}</td>
                <td>{$vo.medicine_name}</td>
                <td>{$vo.specification}</td>
                <td>{$vo.price}</td>
                <td>{$vo.count}</td>
                <td>{$vo.total}</td>
            </tr>
            {/foreach}


            </tbody>
        </table>

    </div>
    <input type="hidden" name="row[id]" value="{$row.order_id}">

    <div class="form-group">
        <label for="c-nurse_id" class="control-label col-xs-12 col-sm-2">{:__('领取人')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-nurse_id" data-rule="required" class="form-control selectpicker" name="row[nurse_id]">
                {foreach $nurse as $index=>$vo}
                <option data-type="status" value="{$vo.id}" >{$vo.name}</option>
                {/foreach}
            </select>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
